/*------------------------------------------------------------------------------

  Package::Eventi  Classe::Evento  File Evento.h
  
  Versione: 1.0           Data: 09-06-2005
  
  Sviluppato da: Giorgio Tino
  


------------------------------------------------------------------------------*/

#include "Events.h"

Events::Events()
{
this->code = 0x0;
}

Events::~Events()
{
}

void Events::reset()
{
this->code = 0x0;
}

void Events::add(unsigned short e)
{
	this->code |= e;
}

void Events::remove(unsigned short e)
{
	this->code &= ~e;
}

unsigned short Events::get()
{
	return this->code;
}

void Events::print()
{
     //printf("Events code: %x\n",this->code);
}
